package org.mcb.zebra.portal.window;

import org.apache.pluto.PortletWindowID;

public class ZebPortletWindowID implements PortletWindowID{
	private String context;
	private String portletName;
	public ZebPortletWindowID(String context,String portletName) {
		this.context = context;
		this.portletName = portletName;
	}
	@Override
	public String getStringId() {
		return portletName+"!"+context+"!"+String.valueOf(hashCode());
	}
	public static PortletWindowID getId(String context,String portletName){
		return new ZebPortletWindowID(context,portletName);
	}
}
